#ifndef _EXTI_H_
#define _EXTI_H_

#include "sys.h"

#define READ_EXTI1()  PBin(3)
#define READ_EXTI2()  PAin(15)
#define READ_EXTI3()  PBin(8)
#define READ_EXTI4()  PBin(9)

extern volatile uint8_t exti1_flag,exti2_flag,exti3_flag,exti4_flag;
void EXTIX_Init(void);
#endif

